<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>for 渲染对象</title>
</head>
<body>
<div id="app">
    <!--    -->
    <div v-for="item in person">{{ item }}</div>

    <br>

    <div v-for="(value, key) in person">{{ key }} : {{ value }}</div>

    <br>

    <div v-for="(value, key, index) in person">{{ index}}、{{ key }} : {{ value }}</div>
</div>

<script type="module">
    import {createApp, reactive} from "../../../../../js/vue.esm-browser.js";

    const app = createApp({
        setup() {
            let person = reactive({
                name: "abcque",
                age: 18,
                gender: "男",
            })
            return {
                person,
            }
        }
    })

    app.mount("#app")
</script>
</body>
</html>